package rssApp.apps 
{
	import app.IApp;
	import rss.IRssEntryModel;
	import rss.IRssService;
	import rssApp.IRssAppController;
	import rssApp.IRssAppModel;
	import rssApp.IRssAppViewMediator;
	/**
	 * TODO: document
	 * 
	 * @author Luke Van In
	 */
	public class RssApp implements IApp
	{
		
		//
		private var _model:IRssAppModel;
		
		private var _view:IRssAppViewMediator;
		
		private var _controller:IRssAppController;
		
		private var _service:IRssService;
		
		
		
		
		/**
		 * Constructor
		 * 
		 * @param	model
		 * @param	view
		 * @param	controller
		 */
		public function RssApp(model:IRssAppModel, view:IRssAppViewMediator, controller:IRssAppController, service:IRssService) 
		{
			this._model = model;
			
			this._view = view;
			
			this._controller = controller;
			
			this._service = service;
		}
		
		
		
		/**
		 * 
		 */
		public function dispose():void 
		{
			this._model.dispose();
			
			this._view.dispose();
			
			this._controller.dispose();
			
			this._service.dispose();
		}
		
	}

}